package com.woniuxy.joylifeshop.service;

import com.woniuxy.common.entity.ShopAddress;
import com.woniuxy.common.entity.ShopOrder;
import com.woniuxy.common.entity.ShopOrderItem;
import com.woniuxy.joylifeshop.dto.ObjectDto;

import java.util.List;

public interface OrderService {

    void createOrder(ShopOrder shopOrder, List<ShopOrderItem> shopOrderItems);

    ObjectDto readOneOrderInfo(String orderId);

    void modifyUnPayOrder(ShopAddress shopAddress, String orderId);

    List<ObjectDto> readAllNeedOrder(String userId,String status);

    void modifyRefundStatus(String orderId);


    void makepost(String orderId);

    void makereceiver(String orderId);
}
